<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<%@ include file="../common/_new_head.jsp" %>
<div class="content-wrapper">
    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-md-6">
                <div class="box box-success">
                    <div class="box-header with-border">
                        <h3 class="box-title">直播状态</h3>
                    </div>
                    <div class="box table-responsive" style="border-top: 0;">
                        <table class="table table-striped">

                            <tr>
                                <th>主播</th>
                                <th>状态</th>
                                <th>平台</th>

                            </tr>

                            <tbody>
                            <c:forEach items="${anchorList}" var="anchor">

                                <tr <c:if test="${ anchor.status=='离线'}">
                                    style="color: gray;"
                                </c:if>>
                                    <td style="text-align:left;">${anchor.anchor_name}</td>
                                    <td style="text-align:left; <c:if test="${ anchor.status=='在线'}">color: red;</c:if>">${anchor.status}</td>
                                    <td style="text-align:left;">${anchor.comp}</td>

                                </tr>
                            </c:forEach>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
            <!--/.col (right) -->
        </div>
        <!-- /.row -->

    </section>
    <!-- /.content -->
</div>
<%@ include file="../common/_new_foot.jsp" %>
</html>
